import Message from './message.vue'
import message from './service'

export default (Vue) => {
  Vue.component(Message.name, Message)
  Vue.prototype.$_alert = (option) => {
    message.alert(option)
  }
  Vue.prototype.$_confirm = (option) => {
    message.confirm(option)
  }
}
